﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using CommonFoundation.DataModel;

namespace WHULive
{
    /// <summary>
    /// GoogleAccount.xaml 的交互逻辑
    /// </summary>
    public partial class GoogleAccount : Window
    {
        public GoogleAccount()
        {
            InitializeComponent();

            this.IDTextBox.Text = BindingSource.GetInstance().GoogleID;
        }

        private void LogInButton_Click(object sender, RoutedEventArgs e)
        {
            BindingSource.GetInstance().GoogleID = this.IDTextBox.Text;

            BindingSource.GetInstance().GooglePassword = this.Password.Password;
        }
    }
}
